package com.szewec.ps.util;

import java.util.ArrayList;

/**
 * 常量类
 */
public class Constants {

    public static class RESULT_CODE {
        public static final int RESULT_OK = 9001;
    }

    /**
     * OSS上传附件相关
     */
    public static final String FOLDER_NAME = "pmms_file/";
    public static final String FIRST_FRAME = "video_First_Img.jpg";
    public static final int UPLOAD = 1;
    public static final int UPLOAD_FAILURE = 2;
    public static final int DELETE = 3;

    /**
     * 页面传值flag
     */
    public interface PRESENT_VALUE_FLAG {
        String ADD = "add";
        String EDIT = "edit";
        String COPY = "copy";
        String VIEW = "view";
        String COPY_LIST = "copy_list";
        String LIST = "list";
        String USERLESS = "userless"; //该状态只显示返回按钮
    }
    public static final String PRESENT_VALUE = "presentValue";
    public static final String ITEM_ACTION = "itemAction";

    /**
     * 自定义的输入框的类型
     */
    public interface InputType {
        String DEFAULT = "input";
        String SELECT = "select";
    }

    /**
     * 自定义的搜索标题栏的类型
     */
    public interface SearchType {
        String DEFAULT = "search";
        String SEARCH_1 = "search_1";
        String SEARCH_2 = "search_2";
    }

    /**
     * 常量字段
     */
    public static final String STATUS = "status";
    public static final String BIZ_ID = "bizId";
    public static final String BIZ_TYPE = "bizType";
    public static final String APP_ID = "appId";
    public static final String TENANT_ID = "tenantId";
    public static final String KEY_WORD = "keyword";
    public static final String SEARCH_FLAG = "searchFlag";
}
